package models

import "gorm.io/gorm"

type Registration struct {
	gorm.Model
	Name        string  `gorm:"type:varchar(50) not null" json:"name"`
	Phone       string  `gorm:"type:char(11) not null" json:"phone"`
	Departments string  `gorm:"type:varchar(30) not null" json:"departments"`
	Costs       float64 `gorm:"type:decimal(10,2)" json:"costs"`
	HeaderImg   string  `gorm:"type:text" json:"header_img"`
}
